<?php

namespace App\Http\Controllers;

use Illuminate\Http\Request;

use App\Http\Requests;
use App\Http\Controllers\Controller;
use Auth;
use App\Car;
use DB;

class GoodsController extends Controller
{
    public function show($pid) {
        $car = new Car();
        $res = $car::find($pid);
        // dd($res);
        return view('home.goods',['res'=>$res]);
    }
}
